package com.company.card_service.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.company.card_service.model.Employee;
import com.company.card_service.model.Message;
import com.company.card_service.model.Reply;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @Author 邓小熙
 * @Date 2022/9/18 22:12
 * @Version 1.0
 */
@Data
@ApiModel(description = "留言板需要显示的信息")
public class MessageVo extends Message {
    @ApiModelProperty("员工回复留言者id")
    @TableField("reply_id")
    private Integer rId;

    @ApiModelProperty("员工回复留言者的员工id")
    @TableField("employee_id")
    private Integer rEId;

    @ApiModelProperty("回复内容")
    @TableField("text")
    private String eText;

    @ApiModelProperty("逻辑删除")
    @TableField("is_deleted")
    private Integer eIsDeleted;

    @ApiModelProperty("创建时间")
        @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date eCreateTime;
    @ApiModelProperty("修改时间")
        @TableField(value = "update_time", fill = FieldFill.INSERT)
    private Date eUpdateTime;
}
